package com.generator.service.courseArrange.smpl;

import com.generator.dao.courseArrange.CourseArrangeDao;
import com.generator.entity.courseArrange.CourseArrange;
import com.generator.service.courseArrange.CourseArrangeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class CourseArrangeServiceBean implements CourseArrangeService {

    @Autowired
    private CourseArrangeDao courseArrangeDao;
    @Override
    public List<CourseArrange> findAllCourseArranges() {
        return courseArrangeDao.findAllCourseArranges();
    }
}
